package com.newly.common.base.constants;

/**
 * @author gjm guan
 * @date 2021/8/19 10:51
 * @desc uri常量
 */
public interface ServerUriConstant {
    // 登录路劲
    String NEWLY_AUTH_LOGIN = "/oauth/token";
    // 验证码
    String CAPTCHA_CODE_PARAM = "code";
    // 验证码id
    String CAPTCHA_ID_PARAM = "captchaId";

    //************ 系统服务
    String NEWLY_SYS_SERVICE_NAME = "newly-sys";
    String NEWLY_SYS_TENANT = "/sys/tenant";
    String NEWLY_SYS_LOGIN_RECORD = "/sys/loginRecord";
    String NEWLY_SYS_NAME_LIST = "/sys/nameList";
    String NEWLY_SYS_AUTH = "/sys/userAuth";
    String NEWLY_SYS_ROLE = "/sys/role";
    String NEWLY_SYS_AUTH_ENTITY = "/sys/auth/entity";
    String NEWLY_SYS_DOMAIN = "/sys/domain";
    String NEWLY_SYS_MENU = "/sys/menu";
    String NEWLY_SYS_DICT = "/sys/dict";
    String NEWLY_SYS_DATABASE = "/sys/database";
    String NEWLY_SYS_OPERATION_LOGGER = "/sys/operationLogger";
    String NEWLY_SYS_TEST = "/sys/test";
    String NEWLY_SYS_DEVICE = "/sys/device";
    // 登录历史uri
    String NEWLY_SYS_LOGIN_RECORD_URI = "http://" + NEWLY_SYS_SERVICE_NAME + NEWLY_SYS_LOGIN_RECORD;
    // 租户uri
    String NEWLY_SYS_TENANT_URI = "http://" + NEWLY_SYS_SERVICE_NAME + NEWLY_SYS_TENANT;
    // 名单列表uri
    String NEWLY_SYS_NAME_LIST_URI = "http://" + NEWLY_SYS_SERVICE_NAME + NEWLY_SYS_NAME_LIST;
    // 鉴权uri
    String NEWLY_SYS_AUTH_URI = "http://" + NEWLY_SYS_SERVICE_NAME + NEWLY_SYS_AUTH;

    //************ 鉴权服务
    String NEWLY_AUTH_SERVICE_NAME = "newly-auth";
    String NEWLY_AUTH = "/auth";

    // 解析token获取security授权对象
    String NEWLY_AUTH__URI = "http://" + NEWLY_AUTH_SERVICE_NAME + NEWLY_AUTH;


    //************ 业务服务
    String NEWLY_BUSINESS_SERVICE_NAME = "newly-business";
    String NEWLY_BUSINESS_SITE = "/business/site";
    String NEWLY_BUSINESS_CAR = "/business/car";
    String NEWLY_BUSINESS_GOODSTYPE = "/business/goodsType";
    String NEWLY_BUSINESS_COMPANY = "/business/company";
    String NEWLY_BUSINESS_MESSAGE = "/business/message";
    String NEWLY_BUSINESS_DATA_SCREEN = "/business/dataScreen";
    String NEWLY_BUSINESS_Statistics = "/business/statistics";
    String NEWLY_BUSINESS_QUERY = "/business/query";

    String NEWLY_BUSINESS_MEDIA = "/business/media";

    //************ mqtt服务
    String NEWLY_BUSINESS_MQTT_BlackList = "/business/mqtt/blackList";
    String NEWLY_BUSINESS_MQTT_Device = "/business/mqtt/device";
    String NEWLY_BUSINESS_MQTT_OTA = "/business/mqtt/ota";
    String NEWLY_BUSINESS_MQTT_Serial = "/business/mqtt/serial";
    String NEWLY_BUSINESS_MQTT_Receiver = "/business/mqtt/receiver";


}
